package STUDENT.TRINHQUANGXUANDUC.OPPS.baitapmang.bai1;

import java.util.Scanner;

public class Views {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int[] diem = new int[100];
		int value = 0;
		int i = 0;
		Controllers dControllers = new Controllers();
		System.out.println("Xin moi nhap diem(khi muon ket thuc vui long nhap mot gia tri am) ");
		while (value >= 0) {
			value = sc.nextInt();
			diem[i] = value;
			i++;
			sc = new Scanner(System.in);
		}
		System.out.println("---------Ket qua---------");
		dControllers.tinhToan(diem);

	}
}
